<%@page import="java.util.*" errorPage="_Error.jsp"%>
<%@page import="DAL.*"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="../Style/AddStyle.css"/>
<script type="text/javascript" src="/SPORT/Script/jquery-1.10.1.js"></script>
</head>
<body>
	<form action="/SPORT/PlayerHandle?type=3" method="post" class="Form">
		<table style=" margin:50px auto;"> 
	            <tbody>
			<tr><td>运动员编号：</td><td><input type="text" name="PlayerId"  /></td></tr>
			<tr><td>运动员姓名：</td><td><input type="text" name="PlayerName"  /></td></tr>
			<tr><td>运动员性别：</td><td>
				<select name="PlayerSex" >
					<option value="男">男</option>
					<option value="女">女</option>
				</select>
			</td></tr>
			<tr><td>所在学院：</td><td>
				<select name="PId">
	                	<%
					Partment partment=new Partment();
					List<Object> list=partment.getEntity();
					Object[] objList;
					for(int i=0;i<list.size();i++)
					{
						objList=(Object[])list.get(i);
						out.write("<option value='"+objList[0]+"'>"+objList[1]+"</option>");
					}
				 %>
				 </select>
			</td></tr>
			<tr><td>所在班级：</td><td><input type="text" name="PlayerClass"  /></td></tr>

	            </tbody>   
	            
	            <tfoot>
	                <tr><td><input type="submit" value="确定" id="btnSure"/></td><td><input type="reset" value="取消" id="btnCancel"/></td></tr>
	            </tfoot> 
	        </table>
       </form>
</body>
</html>
